]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
systemActions: Add more keywords
authorJeremy Bicha <jbicha@ubuntu.com>
Tue, 29 Aug 2017 20:26:03 +0000 (16:26 -0400)
committerJeremy Bicha <jbicha@ubuntu.com>
Tue, 21 Nov 2017 18:32:21 +0000 (13:32 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=786987

js/misc/systemActions.js

index ff816508525ae5965fa16414c4eb51addc402dc9..9c808b76dea3b98796ed135a16d39c8ce75c3c57 100644 (file)
@@ -99,7 +99,7 @@ const SystemActions = new Lang.Class({
                             name: C_("search-result", "Power Off"),
                             iconName: 'system-shutdown-symbolic',
                             // Translators: A list of keywords that match the power-off action, separated by semicolons
-                            keywords: _("power off;shutdown").split(';'),
+                            keywords: _("power off;shutdown;reboot;restart").split(';'),
                             available: false });
         this._actions.set(LOCK_SCREEN_ACTION_ID,
                           { // Translators: The name of the lock screen action in search
@@ -134,7 +134,7 @@ const SystemActions = new Lang.Class({
                             name: C_("search-result", "Lock Orientation"),
                             iconName: '',
                             // Translators: A list of keywords that match the lock orientation action, separated by semicolons
-                            keywords: _("lock orientation").split(';'),
+                            keywords: _("lock orientation;screen;rotation").split(';'),
                             available: false });
 
         this._loginScreenSettings = new Gio.Settings({ schema_id: LOGIN_SCREEN_SCHEMA });